gusimplewhiteboard
|
Class for transmitting machine names over the whiteboard. More...
#include <FSMControlStatus.hpp>
Public Member Functions | |
FSMNames (uint16_t startoffs=0, const char *names=NULLPTR) | |
designated constructor More... | |
FSMNames (const FSMNames &other) | |
copy constructor More... | |
const FSMNames & | operator= (const FSMNames &other) |
assignment operator More... | |
char * | names () |
names getter More... | |
const char * | end () |
end of string More... | |
char * | next_name (const char *name=NULLPTR) |
get the next name More... | |
char * | next_slot (const char *name=NULLPTR) |
get the next empty slot More... | |
int | available_space (const char *pos) |
return the available space after a given pointer More... | |
char * | add_name (char *name) |
try to add a new name More... | |
FSMNames (std::string names) | |
string constructor More... | |
std::string | description () |
convert to a string More... | |
void | from_string (const std::string &str) |
convert from a string More... | |
Class for transmitting machine names over the whiteboard.
Definition at line 156 of file FSMControlStatus.hpp.
|
inline |
|
inline |
copy constructor
Definition at line 173 of file FSMControlStatus.hpp.
|
inline |
string constructor
Definition at line 208 of file FSMControlStatus.hpp.
References from_string(), and names().
|
inline |
try to add a new name
Definition at line 197 of file FSMControlStatus.hpp.
References available_space(), and next_slot().
|
inline |
return the available space after a given pointer
Definition at line 194 of file FSMControlStatus.hpp.
References end().
Referenced by add_name(), and from_string().
|
inline |
convert to a string
Definition at line 211 of file FSMControlStatus.hpp.
References end(), names(), and next_name().
|
inline |
end of string
Definition at line 185 of file FSMControlStatus.hpp.
Referenced by available_space(), description(), next_name(), and next_slot().
|
inline |
convert from a string
Definition at line 222 of file FSMControlStatus.hpp.
References available_space(), and names().
Referenced by FSMNames().
|
inline |
names getter
Definition at line 182 of file FSMControlStatus.hpp.
Referenced by FSMNames(), description(), from_string(), and next_name().
|
inline |
get the next name
Definition at line 188 of file FSMControlStatus.hpp.
References end(), and names().
Referenced by description(), and next_slot().
|
inline |
get the next empty slot
Definition at line 191 of file FSMControlStatus.hpp.
References end(), and next_name().
Referenced by add_name().
assignment operator
Definition at line 179 of file FSMControlStatus.hpp.