22 #include <dynamic-graph/signal-caster.h>
41 Flags(
const std::vector<bool> &flags);
43 void add(
const bool &b);
56 operator bool(
void)
const;
58 void unset(
const unsigned int &i);
59 void set(
const unsigned int &i);
65 struct signal_io<sot::Flags> : signal_io_unimplemented<sot::Flags> {};
#define SOT_CORE_EXPORT
Definition: api.hh:20
Flags(const std::vector< bool > &flags)
SOT_CORE_EXPORT friend Flags operator|(const Flags &f1, const Flags &f2)
Flags(const bool &b=false)
std::vector< bool > flags
Definition: flags.hh:35
Flags & operator&=(const Flags &f2)
SOT_CORE_EXPORT friend std::istream & operator>>(std::istream &is, Flags &fl)
Flags operator!(void) const
SOT_CORE_EXPORT friend std::ostream & operator<<(std::ostream &os, const Flags &fl)
Flags & operator|=(const Flags &f2)
void set(const unsigned int &i)
void unset(const unsigned int &i)
bool operator()(const int &i) const
SOT_CORE_EXPORT friend Flags operator&(const Flags &f1, const Flags &f2)
bool outOfRangeFlag
Definition: flags.hh:36
Definition: abstract-sot-external-interface.hh:17